package gll.pub.onepeas.models


import org.jetbrains.annotations.NotNull
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.data.annotation.Id
import org.springframework.data.relational.core.mapping.Column
import org.springframework.data.relational.core.mapping.Table
import java.util.UUID

@Table("video")
data class VideoTable(
    @Id
    var id: UUID? = null,
    @NotNull
    @Column("title")
    var title: String = "",
    @NotNull
    @Column("description")
    var description: String = ""
)